package org.shangrila.app.sys.eo;

import java.util.List;

import org.shangrila.comm.dao.DbAccess;

public class Test {

	public static void main(String[] args) {			
		
		DbAccess db = new DbAccess();
		List<SysRole> voSysRoles = db.findEntityByProperty("id", 10, "SysRole");
		for(SysRole so : voSysRoles) {
			System.out.println(so.getName());
			System.out.println(so.getSysAuthorities().size());
		}
		
		db.findAll("WfmProcess");

	}
}
